package com.business.mapper;

import com.business.bean.Role;
import com.business.bean.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 张子艺
 * @since 2019-01-08
 */
public interface UserMapper extends BaseMapper<User> {
 User  login(@Param("userName")String userName);


 List<User> selectMyPage(@Param("map") Map map);
 Integer  countMyPage(@Param("map") Map map);

}